<template>
  <Base
    url="/LogOperate/GetPageList"
    :tableColumn="tableColumn"
    :name="t('loginfo.base.operation')"
  />
</template>

<script setup>
import Base from "../base/index.vue";
import { useI18n } from "vue-i18n";
let { t } = useI18n();
const tableColumn = [
  { type: "index", width: "50", label: "No.", align: "center", fixed: true },
  { prop: "userName", label: t("loginfo.operation.userName"), align: "center" },
  {
    prop: "creationTime",
    label: t("loginfo.operation.creationTime"),
    align: "center",
  },
  {
    prop: "moduleName",
    label: t("loginfo.operation.moduleName"),
    align: "center",
  },
  {
    prop: "oldValue",
    label: t("loginfo.operation.oldValue"),
    align: "center",
  },
  { prop: "curValue", label: t("loginfo.operation.curValue"), align: "center" },
  {
    prop: "operationType",
    label: t("loginfo.operation.operationType"),
    align: "center",
    slot: "operationType",
  },
  {
    prop: "message",
    label: t("loginfo.operation.message"),
    align: "center",
    showOverflowTooltip: true,
  },
  { prop: "remark", label: t("loginfo.operation.renark"), align: "center" },
];
</script>
<style lang="scss" scoped></style>
